import 'package:flutter/material.dart';
import 'package:flutter/services.dart';


class ScrollViewPage extends StatelessWidget {
  final SystemUiOverlayStyle _style = SystemUiOverlayStyle(statusBarColor: Colors.transparent);
  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(_style);
    // TODO: implement build
    return MaterialApp(
      home: ScrollViewWidget(),
      theme: ThemeData(primarySwatch: Colors.yellow),
    );
  }
}

class ScrollViewWidget extends StatefulWidget {
  @override
  State<StatefulWidget> createState() {
    // TODO: implement createState
    return _ScrollViewPage();
  }
}

class _ScrollViewPage extends State<StatefulWidget> {

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return Scaffold(
      appBar: AppBar(
        title: Text("ScrollView Page"),
      ),
      body: Scrollbar(child: SingleChildScrollView(
        child: Container(
          height: 3000,
          color: Colors.blue,
        ),
      )),
    );
  }
}